<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"></meta>
	<title>首页--layui后台管理模板</title>
	<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
	<link rel="stylesheet"  th:href="@{/static/layui/css/layui.css}"     media="all"> </link>
	<link rel="stylesheet"  th:href="@{/static/css/font_eolqem241z66flxr.css}"  media="all"> </link>
	<link rel="stylesheet"  th:href="@{/static/css/main.css}"  media="all"> </link>
</head>
<body class="childrenBody">
<div class="panel_box row">
	<div class="panel col" style="width: 25%">
		<a href="javascript:;" data-url="">
			<div class="panel_icon">
				<i class="layui-icon" data-icon="&#xe630;">&#xe630;</i>
			</div>
			<div class="panel_word newMessage">
				<span></span>
				<cite>申请模板</cite>
			</div>
		</a>
	</div>
	<div class="panel col" style="width: 25%">
		<a href="javascript:;" data-url="">
			<div class="panel_icon" style="background-color:#009688;">
				<i class="layui-icon" data-icon="&#xe613;">&#xe613;</i>
			</div>
			<div class="panel_word userAll">
				<span></span>
				<cite>新增人数</cite>
			</div>
		</a>
	</div>
	<div class="panel col" style="width: 25%">
		<a href="javascript:;" data-url="">
			<div class="panel_icon" style="background-color:#009688;">
				<i class="layui-icon" data-icon="&#xe613;">&#xe613;</i>
			</div>
			<div class="panel_word userAll">
				<span></span>
				<cite>通讯录</cite>
			</div>
		</a>
	</div>
	<div class="panel col" style="width: 25%">
		<a href="javascript:;" data-url="">
			<div class="panel_icon" style="background-color:#5FB878;">
				<i class="layui-icon" data-icon="&#xe64a;">&#xe64a;</i>
			</div>
			<div class="panel_word imgAll">
				<span></span>
				<cite>图片总数</cite>
			</div>
		</a>
	</div>
</div>
	<div class="row">
		<div class="sysNotice col" style="width: 40%">
			<blockquote class="layui-elem-quote title">系统公告</blockquote>
			<table class="layui-table">
				<thead>
					<tr >
						<th style="width: 70%">标题</th>
						<th style="width: 20%">日期</th>
						<th style="width: 10%">操作</th>
					</tr>
				</thead>
				<tbody>
					<tr th:each="announcement : ${list}">
						<td th:text="${announcement.title}"> </td>
						<td th:text="${#dates.format(announcement.senddate,'yyyy-MM-dd')}"> </td>
						<td>
							<a class="layui-btn layui-btn-mini Announcement_edit" th:value="${announcement.id}">查看</a>
						</td>
					</tr>
				</tbody>
			</table>
			<!--<ul >
				<li>
					<span style="float: left;padding-left: 20px" >
					<a style="font-size: 24px;color: #0096e6">aaaaaaaaaaaaaaa</a>
					</span>
					<span style="float: right;padding-right: 20px">5/1</span>
				</li>
			</ul>-->
		</div>
		<div class="sysNotice col" style="width: 60%">
			<blockquote class="layui-elem-quote title">基本信息</blockquote>
			<table class="layui-table">

				<colgroup>
					<col width="30%"></col>
					<col width="70%"></col>
				</colgroup>
				<tbody>
					<tr>
						<td>用户名</td>
						<td th:text="${user.username}"></td>
					</tr>
					<tr>
						<td>真实名称</td>
						<td th:text="${user.name}"></td>
					</tr>
					<tr>
						<td>部门</td>
						<td th:text="${user.deptname}"></td>
					</tr>
					<tr>
						<td>当前用户角色</td>
						<td th:text="${user.rolename}"></td>
					</tr>
					<tr>
						<td>邮箱</td>
						<td th:text="${user.email}"></td>
					</tr>
					<tr>
						<td>电话</td>
						<td th:text="${user.telphone}"></td>
					</tr>

				</tbody>
			</table>
			<blockquote class="layui-elem-quote title">我的审批<i class="iconfont icon-new1"></i></blockquote>
			<div class="layui-form news_list">
				<table class="layui-table">
					<thead>
					<tr>
						<th>业务编号</th>
						<th>流程名称</th>
						<th>流程ID</th>
						<th>标题</th>
						<th>申请时间</th>
						<th>状态</th>
						<!--<th>操作</th>-->
					</tr>
					</thead>
					<tbody class="news_content1">
					<tr th:each="apply:${applys}">
						<td th:text="${apply.businessKey}"></td>
						<td th:text="${apply.processDefinitionName}"></td>
						<td th:text="${apply.processId}"></td>
						<td th:text="${apply.title}"></td>
						<td th:text="${#dates.format(apply.createDate,'yyy-MM-dd')}"></td>
						<td>正在审批中</td>
						<!--<td>
							<a  th:href="@{'/'+${apply.category}+'/process/preview?busId='+${apply.businessKey}+'&amp;proid='+${apply.processId}}">查看</a>
							&nbsp;
							<a  th:href="@{'/process/diagram?processDefinitionId='+${apply.processDefinitionId}+'&amp;proid='+${apply.processId}}">流程图</a>
						</td>-->

					</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>

	<script type="text/javascript"  th:src="@{/static/layui/layui.js}" ></script>
	<script type="text/javascript" th:src="@{/static/js/main.js}"  ></script>
	<script type="text/javascript" th:src="@{/static/js/AnnouncementList.js}"></script>

</body>
</html>